package com.atXiao.video.service;

import com.atXiao.video.entity.Video;
import com.atXiao.video.entity.req.common.PageReq;
import com.atXiao.video.entity.req.video.VideoDownloadReq;
import com.atXiao.video.entity.req.video.VideoUploadReq;
import com.atXiao.video.entity.resp.video.VideoDownloadResp;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lixiaoxiao
 * @since 2022-10-28
 */
public interface VideoService extends IService<Video> {

    //视频上传
    void  uploadVideo(VideoUploadReq videoUploadReq);


    //视频下载
    VideoDownloadResp downloadVideo(VideoDownloadReq videoDownloadReq);


    //查询视频列表信息
    List<VideoDownloadResp> listVideoInfo(PageReq pageReq);

}
